.class Lcn/cheln/support/v4/pagerui/ViewPagerHelper$LoadPendingContentHandler;
.super Landroid/os/Handler;


# instance fields
.field private synthetic a:Lcn/cheln/support/v4/pagerui/ViewPagerHelper;


# direct methods
.method private constructor <init>(Lcn/cheln/support/v4/pagerui/ViewPagerHelper;)V
    .locals 0

    iput-object p1, p0, Lcn/cheln/support/v4/pagerui/ViewPagerHelper$LoadPendingContentHandler;->a:Lcn/cheln/support/v4/pagerui/ViewPagerHelper;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcn/cheln/support/v4/pagerui/ViewPagerHelper;Lcn/cheln/support/v4/pagerui/c;)V
    .locals 0

    invoke-direct {p0, p1}, Lcn/cheln/support/v4/pagerui/ViewPagerHelper$LoadPendingContentHandler;-><init>(Lcn/cheln/support/v4/pagerui/ViewPagerHelper;)V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 5

    const/4 v4, -0x1

    iget v0, p1, Landroid/os/Message;->arg1:I

    iget-object v1, p0, Lcn/cheln/support/v4/pagerui/ViewPagerHelper$LoadPendingContentHandler;->a:Lcn/cheln/support/v4/pagerui/ViewPagerHelper;

    invoke-static {v1}, Lcn/cheln/support/v4/pagerui/ViewPagerHelper;->a(Lcn/cheln/support/v4/pagerui/ViewPagerHelper;)Ljava/util/ArrayList;

    move-result-object v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcn/cheln/support/v4/pagerui/ViewPagerHelper$LoadPendingContentHandler;->a:Lcn/cheln/support/v4/pagerui/ViewPagerHelper;

    invoke-static {v1}, Lcn/cheln/support/v4/pagerui/ViewPagerHelper;->a(Lcn/cheln/support/v4/pagerui/ViewPagerHelper;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_0

    if-ne v0, v4, :cond_1

    const/4 v2, 0x0

    :goto_0
    iget-object v3, p0, Lcn/cheln/support/v4/pagerui/ViewPagerHelper$LoadPendingContentHandler;->a:Lcn/cheln/support/v4/pagerui/ViewPagerHelper;

    invoke-static {v3}, Lcn/cheln/support/v4/pagerui/ViewPagerHelper;->a(Lcn/cheln/support/v4/pagerui/ViewPagerHelper;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-virtual {v3, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    iget-object v3, p0, Lcn/cheln/support/v4/pagerui/ViewPagerHelper$LoadPendingContentHandler;->a:Lcn/cheln/support/v4/pagerui/ViewPagerHelper;

    invoke-static {v3}, Lcn/cheln/support/v4/pagerui/ViewPagerHelper;->a(Lcn/cheln/support/v4/pagerui/ViewPagerHelper;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-virtual {v3, v2}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    if-ne v0, v4, :cond_0

    const/4 v0, 0x1

    if-le v1, v0, :cond_0

    invoke-virtual {p0}, Lcn/cheln/support/v4/pagerui/ViewPagerHelper$LoadPendingContentHandler;->obtainMessage()Landroid/os/Message;

    move-result-object v0

    const-wide/16 v1, 0x1f4

    invoke-virtual {p0, v0, v1, v2}, Lcn/cheln/support/v4/pagerui/ViewPagerHelper$LoadPendingContentHandler;->sendMessageDelayed(Landroid/os/Message;J)Z

    :cond_0
    return-void

    :cond_1
    move v2, v0

    goto :goto_0
.end method
